package com.health.teahouse.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.health.common.annotation.DataSource;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VipDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String userName;
    private String phoneNumber;
    private String sex;
    /** 会员编号 */
    @Excel(name = "会员编号")
    private String number;

    /** 积分 */
    @Excel(name = "积分")
    private Long score;

    /** 会员状态0注销，1正常，2停用 */
    @Excel(name = "会员状态0注销，1正常，2停用")
    private Long status;

    /** 余额 */
    @Excel(name = "余额")
    private Long balance;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

}
